package com.hy.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * @TableName articles
 */
@TableName(value ="articles")
@Data
public class Articles implements Serializable {
    /**
     *
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     *
     */
    @TableField(value = "article_title")
    private String articleTitle;

    /**
     *
     */
    @TableField(value = "article_author")
    private String articleAuthor;

    /**
     *
     */
    @TableField(value = "article_category")
    private String articleCategory;

    /**
     *
     */
    @TableField(value = "collection_count")
    private Integer collectionCount;

    /**
     *
     */
    @TableField(value = "reading_count")
    private Integer readingCount;

    /**
     *
     */
    @TableField(value = "is_public")
    private String isPublic;

    /**
     *
     */
    @TableField(value = "review_status")
    private String reviewStatus;

    /**
     *
     */
    @TableField(value = "review_opinion")
    private String reviewOpinion;

    /**
     *
     */
    @TableField(value = "last_update_time")
    private Date lastUpdateTime;

    /**
     *
     */
    @TableField(value = "context")
    private String context;


    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
